//
//  CustomTextViewController.m
//  指纹识别
//
//  Created by lzy on 2018/4/24.
//  Copyright © 2018年 lzy. All rights reserved.
//

#import "CustomTextViewController.h"
#import "XXTextView.h"
@interface CustomTextViewController ()

@end

@implementation CustomTextViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"自定义TextView";
    
    XXTextView *xx = [[XXTextView alloc] initWithFrame:CGRectMake(10, 74, self.view.bounds.size.width-20, 300)];
    xx.backgroundColor = [UIColor grayColor];
    xx.xx_placeholderFont = [UIFont systemFontOfSize:16.0f];
    xx.xx_placeholderColor = [UIColor redColor];
    xx.xx_placeholder = @"请输入...";
    [self.view addSubview:xx];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
